//
//  MJMyInfoViewModel.h
//  MJ
//
//  Created by qiaoBu on 2017/12/11.
//  Copyright © 2017年 lina. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MJMeInfoModel.h"

@class MJMyHistoryExamsModel;

@interface MJMyInfoViewModel : NSObject

+ (void)requestMyInfoSuccess:(void (^)(NSString *stateCode,MJMeInfoModel *infoModel,NSString *messageState))requestSuccess failure:(void(^)(NSError *error))requestFailure netWorkState:(void (^) (BOOL netWorkState))netWorkState;


+ (void)requestUploadHeadImageWithImagePath:(NSString *)filePath andNSMutableDictionary:(NSMutableDictionary *)initializedDict Success:(void (^) (NSString *stateCode,NSString *imageUrl,NSString *messageState))requestSuccess failure:(void(^)(NSError *error))requestFailure netWorkState:(void (^) (BOOL netWorkState))netWorkState;

+ (void)requestChangeInfoWithDictionary:(NSMutableDictionary *)initializedDict Success:(void (^) (NSString *stateCode,NSString *messageState))requestSuccess failure:(void(^)(NSError *error))requestFailure netWorkState:(void (^) (BOOL netWorkState))netWorkState;

+ (void)requestMyHistoryExamsWithKey:(NSString *)key Success:(void (^) (NSString *stateCode,MJMyHistoryExamsModel *model,NSString *messageState))requestSuccess failure:(void(^)(NSError *error))requestFailure netWorkState:(void (^) (BOOL netWorkState))netWorkState;


@end
